package pe.edu.upc.dsd.deal.service;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;

import pe.edu.upc.dsd.deal.model.Deal;
//import pe.edu.upc.dsd.deal.model.Usuario;

@WebService
public interface DealService {

	Deal find(@WebParam(name="isbn") String isbn);

	List<Deal> findAll();

	void save(@WebParam(name="deal") Deal deal);

	void update(@WebParam(name="deal") Deal deal);

	void delete(@WebParam(name="deal") Deal deal);

}